import request from "@/utils/request";

export function getFindPostByQuery(params) {
  return request({
    url: "/recruit2/api/v1/recruitInfos/findPostByQuery",
    method: "GET",
    params
  });
}

export function getNormalPost(params) {
  return request({
    url: "/recruit2/api/v1/recruitInfos/getNormalPost",
    method: "GET",
    params
  });
}

export function postSaveBrokerOrEmpPost(data) {
  return request({
    url: "/recruit2/api/v1/recruitInfos/saveBrokerOrEmpPost",
    method: "post",
    data
  });
}

export function putRecruitInfos(data) {
  return request({
    url: "/recruit2/api/v1/recruitInfos",
    method: "put",
    data
  });
}
